package com.rlj.messagequeue.mqserver.core;

/**
 * Created with IntelliJ IDEA.
 * Description: 交换机和队列之间的关系
 * User: DELL
 * Date: 2024-02-19
 * Time: 23:41
 */
public class Binding {
    // 交换机
    private String exchangeName;
    // 队列
    private String queueName;
    // 密钥
    private String bindingKey;

    public String getExchangeName() {
        return exchangeName;
    }

    public void setExchangeName(String exchangeName) {
        this.exchangeName = exchangeName;
    }

    public String getQueueName() {
        return queueName;
    }

    public void setQueueName(String queueName) {
        this.queueName = queueName;
    }

    public String getBindingKey() {
        return bindingKey;
    }

    public void setBindingKey(String bindingKey) {
        this.bindingKey = bindingKey;
    }
}
